package org.leaf.green.admin

class Group {

    String name
    Boolean isActive
	String description
    
    static constraints = {
        name nullable:false, blank : false, maxSize : 100
        isActive nullable:true
		description nullable:true, blank:true, maxSize:255
    }

    String toString() {
        return "$name"
    }    

    static mapping = {
        table 'ADMIN_GROUP'
    }
}
